/**
 * Created by admin on 2017/8/24.
 */

import React, { Component } from 'react';
import {
    AppRegistry,
    StyleSheet,
    Text,
    View,
} from 'react-native';


//引入外部组件
var Main = require('./Component/DCMain');

var Dimensions = require('Dimensions');
var {width} = Dimensions.get('window');
var screenWidth = Dimensions.get('window').width;

//一些常量设置
var cols = 3;
var cellWH = 100;

var vMargin = (screenWidth - cellWH * cols) / (cols + 1);
var hMargin = 25;

var navigator  = React.createClass({//类名一定要大写开头
    render(){
        return(
            <Main />
        );
    }
});


const styles = StyleSheet.create({
});

//输出类
module.exports = navigator;